import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';

const routes: Routes = [
  {
    path: 'monitor',
    loadChildren: './monitor/monitor.module#MonitorModule'
  },
  {
    path: 'organi',
    loadChildren: './organization/organization.module#OrganizationModule'
  },
  {
    path: 'permi',
    loadChildren: './permission/permission.module#PermissionModule'
  },
  {
    path: 'user',
    loadChildren: './user/user.module#UserModule'
  },
  {
    path: 'bp',
    loadChildren: './peach/peach.module#PeachModule'
  },
  {
    path: 'dictionary',
    loadChildren: './dictionary/dictionary.module#DictionaryModule'
  },
  {
    path: 'log',
    loadChildren: './log/log.module#LogModule'
  },
  {
    path: 'msg',
    loadChildren: './msg/msg.module#MsgModule'
  },
  {
    path: 'stat',
    loadChildren: './stat/stat.module#StatModule'
  },
  {
    path: 'tpl',
    loadChildren: './tpl/tpl.module#TplModule'
  },
  {
    path: 'site',
    loadChildren: './site-v2/site-v2.module#SiteV2Module'
  },
  {
    path: 'audit',
    loadChildren: './audit/audit.module#AuditModule'
  },
  {
    path: 'da',
    loadChildren: './da/da.module#DAModule'
  },{
    path: 'uniCode',
    loadChildren: './unifiedcode/unifiedcode.module#UnifiedcodeModule'
  },
  {
    path: 'rescatalog',
    loadChildren: './rescatalog/rescatalog.module#RescatalogModule'
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: []
})
export class AdminRoutingModule {
}
